package com.bailong.administrator.ausedcar.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/9/6.
 */
public class HomeShowBean {

    /**
     * code : 2
     * message : 操作成功
     * version : 89f25e3189143b6c3dd0ab9a8fc23922
     * data : {"recommend":[{"name":"E级","price":"7.74","img":"http://s1.xinstatic.com/xin/images/series-app/532.png","search":{"serieid":"532","mortgage":1}},{"name":"智跑","price":"3.84","img":"http://s1.xinstatic.com/xin/images/series-app/2046.png","search":{"serieid":"2046","mortgage":1}},{"name":"5系","price":"11.76","img":"http://s1.xinstatic.com/xin/images/series-app/425.png","search":{"serieid":"425","mortgage":1}},{"name":"雅阁","price":"3.96","img":"http://s1.xinstatic.com/xin/images/series-app/564.png","search":{"serieid":"564","mortgage":1}},{"name":"A6L","price":"13.96","img":"http://s1.xinstatic.com/xin/images/series-app/269.png","search":{"serieid":"269","mortgage":1}}]}
     */

    private int code;
    private String message;
    private String version;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * name : E级
         * price : 7.74
         * img : http://s1.xinstatic.com/xin/images/series-app/532.png
         * search : {"serieid":"532","mortgage":1}
         */

        private List<RecommendBean> recommend;

        public List<RecommendBean> getRecommend() {
            return recommend;
        }

        public void setRecommend(List<RecommendBean> recommend) {
            this.recommend = recommend;
        }

        public static class RecommendBean {
            private String name;
            private String price;
            private String img;
            /**
             * serieid : 532
             * mortgage : 1
             */

            private SearchBean search;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public SearchBean getSearch() {
                return search;
            }

            public void setSearch(SearchBean search) {
                this.search = search;
            }

            public static class SearchBean {
                private String serieid;
                private int mortgage;

                public String getSerieid() {
                    return serieid;
                }

                public void setSerieid(String serieid) {
                    this.serieid = serieid;
                }

                public int getMortgage() {
                    return mortgage;
                }

                public void setMortgage(int mortgage) {
                    this.mortgage = mortgage;
                }
            }
        }
    }
}
